/* ═══════════════════════════════════════════════
   sv7n — style.css
   Theme: Carbon + Teal  |  Dark minimal
═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Space+Grotesk:wght@400;500&display=swap');

/* ─── RESET & VARIABLES ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #0e0e0e;
  --bg-card:      #141414;
  --border:       #1e1e1e;
  --border-light: #252525;
  --text-primary: #f0f0f0;
  --text-secondary: #666;
  --text-muted:   #3a3a3a;
  --accent:       #c00086 ;
  --accent-dim:   #c00086 ;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: linear-gradient(90deg, rgb(16 2 37 / 94%), rgb(0 0 0 / 9));
  color: var(--text-primary);
  font-family: var(--font-body);
  cursor: none !important;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ─── PRELOADER ─── */
#preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 20px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hide { opacity: 0; visibility: hidden; pointer-events: none; }

.pre-logo-img { width: 80px; height: auto; opacity: 0; animation: preLogoIn 0.7s cubic-bezier(0.16,1,0.3,1) 0.2s forwards; }
@keyframes preLogoIn { from { opacity:0; transform:translateY(12px); } to { opacity:1; transform:translateY(0); } }

.pre-bar-wrap {
  width: 120px; height: 1px; background: var(--border-light);
  overflow: hidden; opacity: 0; animation: fadeIn 0.4s ease 0.6s forwards;
}
.pre-bar { height: 100%; width: 0; background: var(--accent); animation: barFill 1s cubic-bezier(0.4,0,0.2,1) 0.7s forwards; }
@keyframes barFill { to { width: 100%; } }
@keyframes fadeIn  { to { opacity: 1; } }

/* ─── CURSOR GLOW ─── */
#cursor-glow {
  position: fixed; pointer-events: none; z-index: 9998;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(7, 146, 9, 0.055) 0%, transparent 70%);
  transform: translate(-50%,-50%);
  transition: left 0.12s ease, top 0.12s ease;
  display: none;
}
@media (hover: hover) { #cursor-glow { display: block; } }

/* ─── NAV ─── */
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 48px;
  background: linear-gradient(90deg, rgb(16 2 37 / 94%), rgb(0 0 0 / 9));
  border-bottom: 0.5px solid var(--border);
  backdrop-filter: blur(12px);
  opacity: 0;
  animation: navSlide 0.6s cubic-bezier(0.16,1,0.3,1) 0.1s forwards;
}
@keyframes navSlide { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }

.nav-logo img { height: 70px; width: auto; display: block; }
.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav-links a { font-size: 13px; color:#ffffff; letter-spacing: 0.5px; transition: color 0.2s; }
.nav-links a:hover { color: var(--text-primary); }
.nav-cta {
  font-size: 13px; color:#c00086 !important;
  border: 0.5px solid red;
  padding: 8px 20px; border-radius: 40px; transition: background 0.2s;
}
.nav-cta:hover { background: rgba(93,202,165,0.07); }

.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--text-secondary); transition: 0.3s; }
.mobile-menu {
  display: none; position: fixed; top: 61px; left: 0; right: 0;
  background: rgba(14,14,14,0.98); border-bottom: 0.5px solid var(--border);
  padding: 24px 48px; z-index: 99; flex-direction: column; gap: 20px;
  backdrop-filter: blur(12px);
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 15px; color: var(--text-secondary); }
.mobile-menu a:hover { color: var(--text-primary); }

/* ─── HERO ─── */
.hero {
  min-height: 92vh; display: flex; flex-direction: column;
  justify-content: center; padding: 100px 48px 80px;
  border-bottom: 0.5px solid var(--border);
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; top: -120px; right: -80px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(93,202,165,0.05) 0%, transparent 70%);
  pointer-events: none;
}

/* hero entrance */
.hero-eyebrow,
.hero-title,
.hero-body,
.hero-actions,
.available { opacity: 0; transform: translateY(20px); }

.hero-loaded .hero-eyebrow  { animation: heroIn 0.75s cubic-bezier(0.16,1,0.3,1) 0.05s forwards; }
.hero-loaded .hero-title    { animation: heroIn 0.85s cubic-bezier(0.16,1,0.3,1) 0.18s forwards; }
.hero-loaded .hero-body     { animation: heroIn 0.75s cubic-bezier(0.16,1,0.3,1) 0.30s forwards; }
.hero-loaded .hero-actions  { animation: heroIn 0.75s cubic-bezier(0.16,1,0.3,1) 0.42s forwards; }
.hero-loaded .available     { animation: heroIn 0.75s cubic-bezier(0.16,1,0.3,1) 0.54s forwards; }
@keyframes heroIn { to { opacity:1; transform:translateY(0); } }

.hero-eyebrow { font-size: 11px; letter-spacing: 4px; color: var(--text-muted); margin-bottom: 28px; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 72px); font-weight: 400;
  line-height: 1.1; color: var(--text-primary);
  max-width: 680px; letter-spacing: -1px;
}
.hero-title em  { font-style: normal; color: var(--text-muted); }
.hero-title .hl { color: var(--accent); }
.hero-body { font-size: 16px; color: var(--text-secondary); max-width: 420px; margin-top: 28px; line-height: 1.8; }
.hero-actions { display: flex; align-items: center; gap: 20px; margin-top: 44px; flex-wrap: wrap; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--text-primary); color: var(--bg);
  font-size: 13px; font-weight: 500; padding: 14px 28px;
  border-radius: 40px; transition: opacity 0.2s; border: none; cursor: pointer;
}
.btn-primary:hover { opacity: 0.88; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-secondary); transition: color 0.2s; }
.btn-ghost:hover { color: var(--text-primary); }

.available { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--accent); margin-top: 48px; }
.available-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.35} }

.icon { display: inline-block; width: 20px; height: 20px; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* ─── STATS ─── */
.stats { display: grid; grid-template-columns: repeat(3,1fr); border-bottom: 0.5px solid var(--border); }
.stat { padding: 36px 48px; border-right: 0.5px solid var(--border); }
.stat:last-child { border-right: none; }
.stat-num { font-family: var(--font-display); font-size: 36px; font-weight: 400; color: var(--text-primary); letter-spacing: -1px; }
.stat-lbl { font-size: 12px; color: var(--text-secondary); margin-top: 6px; }

/* ─── SECTIONS ─── */
.section { padding: 80px 48px; border-bottom: 0.5px solid var(--border); }
.sec-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 48px; }
.sec-label { font-size: 11px; letter-spacing: 3px; color: #ffffff; }
.sec-count { font-size: 12px; color: var(--text-muted); }

/* ─── PROJECTS ─── */
.projects-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--border); }
.proj-card { background: var(--bg); padding: 40px; transition: background 0.2s; }
.proj-card:hover { background: var(--bg-card); }
.proj-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.proj-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); }
.proj-dot.live { background: var(--accent); }
.proj-platform { font-size: 11px; letter-spacing: 2px; color: var(--text-muted); }
.proj-name { font-family: var(--font-display); font-size: 22px; font-weight: 400; color: var(--text-primary); margin-bottom: 12px; letter-spacing: -0.3px; }
.proj-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }
.proj-tags { display: flex; gap: 8px; margin-top: 24px; flex-wrap: wrap; }
.tag { font-size: 11px; color: var(--text-muted); border: 0.5px solid var(--border-light); border-radius: 40px; padding: 4px 12px; }

/* ─── SERVICES ─── */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); }
.svc-card { background: var(--bg); padding: 36px 40px; transition: background 0.2s; }
.svc-card:hover { background: var(--bg-card); }
.svc-num { font-size: 11px; letter-spacing: 2px; color: var(--text-muted); margin-bottom: 20px; }
.svc-name { font-family: var(--font-display); font-size: 17px; font-weight: 400; color: var(--text-primary); margin-bottom: 12px; }
.svc-desc { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

/* ─── MEDIA ─── */
.media-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--border); }
.media-card {
  background: var(--bg); aspect-ratio: 4/3;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  cursor: pointer; transition: background 0.2s; color: inherit; text-decoration: none;
}
.media-card:hover { background: var(--bg-card); }
.media-card:hover .media-icon { color: var(--accent); }
.media-icon { width: 28px; height: 28px; color: var(--text-muted); transition: color 0.2s; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.media-label { font-size: 13px; color: var(--text-secondary); }
.media-type  { font-size: 11px; letter-spacing: 2px; color: var(--text-muted); }

/* ─── CONTACT ─── */
.contact-section {
  padding: 100px 48px; border-bottom: 0.5px solid var(--border);
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start;
}
.contact-left h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px); font-weight: 400;
  line-height: 1.15; letter-spacing: -0.5px; margin-bottom: 20px;
}
.contact-left p { font-size: 14px; color: var(--text-secondary); line-height: 1.8; }
.contact-info { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.contact-info-item .ci-label { font-size: 11px; letter-spacing: 2px; color: var(--text-muted); display: block; margin-bottom: 4px; }
.contact-info-item a,
.contact-info-item span { font-size: 14px; color: var(--text-secondary); transition: color 0.2s; }
.contact-info-item a:hover { color: var(--accent); }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 11px; letter-spacing: 2px; color: var(--text-muted); }
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--bg-card); border: 0.5px solid var(--border-light);
  border-radius: 8px; padding: 14px 16px;
  font-family: var(--font-body); font-size: 14px; color: var(--text-primary);
  outline: none; transition: border-color 0.2s; width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent-dim); }
.form-group select option { background: #1a1a1a; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.submit-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--text-primary); color: var(--bg);
  font-family: var(--font-body); font-size: 13px; font-weight: 500;
  padding: 16px 32px; border-radius: 40px; border: none; cursor: pointer;
  margin-top: 8px; transition: opacity 0.2s; width: 100%;
}
.submit-btn:hover { opacity: 0.88; }
.submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.form-success {
  display: none; background: rgba(93,202,165,0.08);
  border: 0.5px solid var(--accent-dim); border-radius: 12px;
  padding: 20px 24px; font-size: 14px; color: var(--accent); text-align: center;
}
.form-error {
  display: none; background: rgba(255,80,80,0.06);
  border: 0.5px solid #5a1a1a; border-radius: 12px;
  padding: 14px 20px; font-size: 13px; color: #e07070; margin-top: 8px;
}

/* ─── FOOTER ─── */
footer {
  display: flex; align-items: center; justify-content: space-between;
  padding: 28px 48px;
}
.footer-logo img { height: 67px; width: auto; }
.footer-links { display: flex; gap: 28px; }
.footer-links a { font-size: 12px; color: #ffffff; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-secondary); }

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16,1,0.3,1), transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0.00s; opacity:1; transform:translateY(0); }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 0.08s; opacity:1; transform:translateY(0); }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 0.16s; opacity:1; transform:translateY(0); }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 0.24s; opacity:1; transform:translateY(0); }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 0.32s; opacity:1; transform:translateY(0); }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 0.40s; opacity:1; transform:translateY(0); }

/* ─── MOBILE ─── */
@media (max-width: 768px) {
  nav { padding: 18px 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { top: 61px; padding: 24px; }
  .hero { padding: 80px 24px 60px; min-height: auto; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 0.5px solid var(--border); padding: 28px 24px; }
  .stat:last-child { border-bottom: none; }
  .section { padding: 60px 24px; }
  .projects-grid,
  .services-grid { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: repeat(2,1fr); }
  .contact-section { grid-template-columns: 1fr; padding: 60px 24px; gap: 48px; }
  .form-row { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 16px; padding: 28px 24px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .available-dot { animation: none; }
  nav, .hero-eyebrow, .hero-title, .hero-body,
  .hero-actions, .available, .pre-logo-img,
  .pre-bar, .pre-bar-wrap { animation: none !important; opacity: 1 !important; transform: none !important; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  #preloader { display: none !important; }
  * { transition: none !important; }
}

a:focus-visible, button:focus-visible,
input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}


/* ABOUT SECTION */
.section-about {
	padding: 120px 60px;
	background-color: #121212;
	border-top: 1px solid #2a2a2a;
}

.about-container {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: center;
}

.about-content h3 {
	font-size: 32px;
	font-weight: 800;
	margin-bottom: 30px;
	letter-spacing: -0.5px;
}

.about-content p {
	color: #999;
	margin-bottom: 24px;
	line-height: 1.9;
	font-size: 15px;
}

.about-content p a {
	color: #d0d0d0;
	text-decoration: underline;
	transition: color 0.3s ease;
}

.about-content p a:hover {
	color: white;
}

.about-blocks {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.about-block {
	padding: 30px;
	background-color: #222;
	border-left: 4px solid #555;
	border-top: 1px solid #2a2a2a;
	border-right: 1px solid #2a2a2a;
	border-bottom: 1px solid #2a2a2a;
}

.about-block h4 {
	font-size: 16px;
	margin-bottom: 12px;
	font-weight: 700;
	color: #d0d0d0;
}

.about-block p {
	font-size: 13px;
	color: #777;
	margin-bottom: 0;
}

/* Section Container */
        .team-section {
            max-width: 1200px;
            margin: 0 auto;
            text-align: center;
        }

        .team-section h2 {
            font-size: 2.5rem;
            margin-bottom: 10px;
            color: #ffffff;
        }

        .team-section p.subtitle {
            font-size: 1.1rem;
            color: #666;
            margin-bottom: 40px;
        }

        /* Responsive 4-Column Grid Layout */
        .team-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
        }

        /* Member Card Styles */
        .team-card {
            background: #201c1c;
            padding: 30px 20px;
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .team-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(108, 93, 93, 0.1);
        }

        /* Profile Image */
        .member-img {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 20px;
            border: 4px solid #f0f0f0;
        }

        /* Text Styles */
        .member-name {
            font-size: 1.3rem;
            font-weight: 600;
            color: #ffffff;
            margin-bottom: 5px;
        }

        .member-role {
            font-size: 0.95rem;
            color: #045604ab;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 15px;
        }

        .member-bio {
            font-size: 0.9rem;
            color: #777;
            line-height: 1.5;
        }

        /* Responsive Breakpoints */
        @media (max-width: 1024px) {
            .team-grid {
                grid-template-columns: repeat(2, 1fr); /* 2x2 grid on tablets */
            }
        }

        @media (max-width: 600px) {
            .team-grid {
                grid-template-columns: 1fr; /* 1 column on mobile phones */
            }
            .team-section h2 {
                font-size: 2rem;
            }
        }

         /* About Us Container */
        .about-section {
            display: flex;
            align-items: center;
            justify-content: space-between;
            max-width: 1200px;
            margin: 50px auto;
            padding: 20px;
            gap: 40px;
        }

        /* Left Side: Content Column */
        .about-content {
            flex: 1;
        }
        .about-content h2 {
            font-size: 2.5rem;
            color: #ffffff;
            margin-bottom: 20px;
            position: relative;
        }
        .about-content h2::after {
            content: '';
            display: block;
            width: 60px;
            height: 4px;
            background-color: #007bff;
            margin-top: 8px;
            border-radius: 2px;
        }
        .about-content p {
            font-size: 1.1rem;
            margin-bottom: 15px;
            color: #ffffff;
        }

        /* Right Side: Image Column */
        .about-image {
            flex: 1;
            text-align: right;
        }
        .about-image img {
            width: 100%;
            max-width: 500px;
            height: auto;
            border-radius: 8px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
            object-fit: cover;
        }

        /* Responsive Design for Mobile Devices */
        @media (max-width: 768px) {
            .about-section {
                flex-direction: column-reverse; /* Puts text on top, image on bottom on mobile */
                text-align: center;
                gap: 20px;
            }
            .about-content h2::after {
                margin: 8px auto 0 auto; /* Centers the underline on mobile */
            }
            .about-image {
                text-align: center;
            }
        }

/* studio section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 55px;
  min-height: 620px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 65px 4%;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  color: #e58cae;
  font-weight: bold;
  margin-bottom: 30px;
}

.hero h1 {
  font-size: clamp(38px, 4.5vw, 68px);
  line-height: 1.12;
  letter-spacing: -2px;
  margin-bottom: 28px;
}

.hero-content > p {
  color: #b9b5c2;
  font-size: 16px;
  line-height: 1.9;
  max-width: 450px;
  margin-bottom: 30px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 15px 24px;
  background: #f4f1f8;
  color: #211b2b;
  text-decoration: none;
  border-radius: 35px;
  font-size: 14px;
  transition: .3s;
}

.hero-btn:hover {
  background: #e58cae;
  transform: translateY(-3px);
}

.hero-btn span {
  font-size: 20px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  margin-top: 55px;
  border-top: 1px solid #45404e;
  padding-top: 25px;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-stats strong {
  font-size: 20px;
  color: #e58cae;
}

.hero-stats small {
  color: #aaa4b4;
  font-size: 10px;
}

.hero-visual {
  position: relative;
  min-width: 0;
  padding: 20px 0;
}

.visual-glow {
  position: absolute;
  inset: 10% -10%;
  background: #a64d80;
  filter: blur(100px);
  opacity: .35;
}

.visual-frame {
  position: relative;
  height: 450px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  box-shadow: 0 25px 80px rgba(0,0,0,.4);
  transform: rotate(2deg);
}

.visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.image-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 30px;
  background: linear-gradient(
    transparent 35%,
    rgba(15,10,22,.9)
  );
}

.image-overlay span {
  font-size: 10px;
  letter-spacing: 3px;
  color: #e9a0c1;
}

.image-overlay strong {
  font-size: clamp(22px, 3vw, 36px);
}

.floating-card {
  position: absolute;
  bottom: 5px;
  left: -30px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px;
  background: #282432;
  border: 1px solid #484052;
  border-radius: 15px;
  z-index: 3;
  box-shadow: 0 15px 40px rgba(0,0,0,.3);
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #8ee0ad;
  flex-shrink: 0;
}

.floating-card div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.floating-card strong {
  font-size: 10px;
}

.floating-card small {
  font-size: 10px;
  color: #bcb5c8;
}

@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 45px 7%;
  }

  .hero h1 {
    font-size: clamp(36px, 8vw, 58px);
  }

  .hero-stats {
    margin-top: 35px;
  }

  .visual-frame {
    height: 360px;
  }

  .floating-card {
    left: -5px;
    bottom: 0;
  }
}

@media (max-width: 450px) {
  .visual-frame {
    height: 290px;
  }

  .floating-card {
    padding: 12px;
  }

  .hero-stats {
    gap: 18px;
  }
}
/* End of studio section */

/* start of services section(moving) */
.services-ticker {
    width: 100%;
    overflow: hidden;
    background: linear-gradient(90deg, rgb(16 2 37 / 94%), rgb(0 0 0 / 94%));
    padding: 22px 0;
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: moveTicker 18s linear infinite;
    will-change: transform;
}

.ticker-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.service {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
    color: hsl(0, 100%, 99%);
    padding: 0 32px;
}

.dot {
    color: #3478db;
    font-size: 28px;
    font-weight: bold;
}

@keyframes moveTicker {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 600px) {
    .service {
        font-size: 17px;
        padding: 0 18px;
    }

    .services-ticker {
        padding: 18px 0;
    }
}
/* END of services section(moving) */
/* start of client section */
.clients-section {
      width: 100%;
      background: linear-gradient(90deg, rgb(16 2 37 / 94%), rgb(0 0 0 / 9));
      padding: 65px 20px;
      text-align: center;
      overflow: hidden;
    }

    .trusted-label {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 5px;
      font-size: 10px;
      color: #68738a;
      margin-bottom: 5px;
    }

    .trusted-dot {
      width: 5px;
      height: 5px;
      background: #6478ff;
      border-radius: 50%;
    }

    .clients-section h2 {
      font-size: 25px;
      font-weight: 700;
      letter-spacing: -0.7px;
      margin-bottom: 30px;
    }

    .clients-container {
      max-width: 1100px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 14px;
    }

    .client-card {
      min-height: 75px;
      padding: 20px 12px;
      display: flex;
      justify-content: center;
      align-items: center;
      background: #ffffff;
      border: 1px solid #e9ebf5;
      border-radius: 13px;
      box-shadow: 0 4px 12px rgba(25, 35, 70, 0.025);
      font-size: 12px;
      font-weight: 800;
      letter-spacing: 0.3px;
      color: #202a40;
      transition: transform 0.3s ease,
                  box-shadow 0.3s ease;
    }

    .client-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(25, 35, 70, 0.09);
    }

    /* Tablet */
    @media (max-width: 768px) {
      .clients-section {
        padding: 50px 18px;
      }

      .clients-section h2 {
        font-size: 22px;
      }

      .clients-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
      }

      .client-card {
        min-height: 65px;
        font-size: 11px;
      }
    }

    /* Mobile */
    @media (max-width: 380px) {
      .clients-section h2 {
        font-size: 19px;
      }

      .client-card {
        padding: 15px 6px;
        font-size: 9px;
      }
    }

/* END of client section */

/* start of glimpses of work */
.portfolio {
  max-width: 1400px;
  margin: auto;
  padding: 65px 5% 55px;
}

/* Heading section */
.portfolio-header {
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  align-items: end;
  gap: 40px;
  margin-bottom: 38px;
}

.eyebrow {
  font-size: 11px;
  color: #59677f;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 7px;
}

.eyebrow span {
  width: 5px;
  height: 5px;
  background: #6886ff;
  border-radius: 50%;
}

.portfolio h1 {
  font-size: clamp(30px, 3.3vw, 48px);
  line-height: 1.05;
  letter-spacing: -1.8px;
  font-weight: 800;
  max-width: 500px;
}

.portfolio-description {
  max-width: 350px;
  justify-self: end;
  color: #788398;
  font-size: 13px;
  line-height: 1.7;
  padding-bottom: 3px;
}

/* Portfolio cards */
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.project-card {
  position: relative;
  height: 290px;
  overflow: hidden;
  border-radius: 17px;
  background: #e7e9ef;
  isolation: isolate;
  transition: transform 0.35s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 18, 31, 0.22) 0%,
    rgba(10, 18, 31, 0.02) 35%,
    rgba(10, 18, 31, 0.18) 55%,
    rgba(10, 18, 31, 0.70) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.project-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  z-index: 0;
}

.project-card:hover .project-image {
  transform: scale(1.06);
}

/* Category pill */
.project-category {
  position: absolute;
  top: 15px;
  left: 14px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.24);
  color: white;
  padding: 6px 10px;
  border-radius: 30px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.35px;
  backdrop-filter: blur(10px);
}

/* Project title box */
.project-title {
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 13px;
  z-index: 2;
  padding: 13px 12px;
  background: rgba(15, 27, 48, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #fff;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
  backdrop-filter: blur(12px);
}

/* Tablet */
@media (max-width: 900px) {
  .portfolio {
    padding: 55px 4%;
  }

  .portfolio-header {
    grid-template-columns: 1fr 0.8fr;
    gap: 25px;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }

  .project-card {
    height: 300px;
  }
}

/* Mobile */
@media (max-width: 520px) {
  .portfolio {
    padding: 45px 20px;
  }

  .portfolio-header {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 25px;
  }

  .portfolio h1 {
    font-size: 34px;
    letter-spacing: -1.3px;
  }

  .portfolio-description {
    justify-self: start;
    font-size: 12px;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .project-card {
    height: 245px;
    border-radius: 13px;
  }

  .project-category {
    top: 10px;
    left: 8px;
    font-size: 7px;
    padding: 6px 7px;
  }

  .project-title {
    left: 8px;
    right: 8px;
    bottom: 8px;
    padding: 10px 8px;
    font-size: 11px;
  }
}

@media (max-width: 340px) {
  .project-card {
    height: 210px;
  }

  .portfolio h1 {
    font-size: 29px;
  }
}
/* THIN LINE */
.thin-line {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.65);
}
/* ---------- scroll progress ---------- */
.scroll-bar{ position:fixed; top:0; left:0; height:3px; background:linear-gradient(90deg,var(--blue-700),var(--blue-400)); z-index:10000; width:0%; }


/* ---------- cursor progress ---------- */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 70px;
    height: 70px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition:
      width 0.25s ease,
      height 0.25s ease,
      background 0.25s ease;
  }

  /* Slightly enlarge when hovering over links */
  .custom-cursor.hovering {
    width: 90px;
    height: 90px;
    background: rgba(39, 10, 107, 0.08);
  }

  /* Restore normal cursor on touch devices */
  @media (hover: none) {
    * {
      cursor: auto !important;
    }

    .custom-cursor {
      display: none;
    }}